extends Node

func Any(conditions: Array[bool]) -> bool:
    # Test if any of the conditions is true
    for cond in conditions:
        if cond: return true
    return false

func All(conditions: Array[bool]) -> bool:
    # Test if all of the conditions is true
    for cond in conditions:
        if !cond: return false
    return true